import axios from 'axios'

export default {
  getStatus (parameter) {
    return axios.get(
      `http://api-test.xlink.cn:3001/api/party/status?${parameter}`
    )
  },
  getWater (parameter) {
    return axios.get(
      `http://api-test.xlink.cn:3001/api/party/water?${parameter}`
    )
  },
  getMonitor (parameter) {
    return axios.get(
      `http://api-test.xlink.cn:3001/api/party/monitor?${parameter}`
    )
  }
}
